package com.bdth.bdthiss.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 商家表
 * </p>
 *
 * @author LGP
 * @since 2019-08-21
 */
@TableName("sp_seller")
public class Seller implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 商家登录用户名
     */
    private String sellerName;
    /**
     * 商家密码
     */
    private String password;
    /**
     * 加入时间
     */
    private Date createTime;
    /**
     * 最后登录时间
     */
    private Date loginTime;
    /**
     * 是否是特级商家
     */
    private Integer isVip;
    /**
     * 0:未删除,1:已删除
     */
    private Integer isDel;
    /**
     * 0:未锁定,1:已锁定
     */
    private Integer isLock;
    /**
     * 商家真实名称
     */
    private String trueName;
    /**
     * 电子邮箱
     */
    private String email;
    /**
     * 手机号码
     */
    private String mobile;
    /**
     * 座机号码
     */
    private String phone;
    /**
     * 执照证件照片
     */
    private String paperImg;
    /**
     * 保证金
     */
    private BigDecimal cash;
    /**
     * 国ID
     */
    private Integer country;
    /**
     * 省ID
     */
    private Integer province;
    /**
     * 市ID
     */
    private Integer city;
    /**
     * 区ID
     */
    private Integer area;
    /**
     * 地址
     */
    private String address;
    /**
     * 收款账号信息
     */
    private String account;
    /**
     * QQ号码
     */
    private String serverNum;
    /**
     * 企业URL网站
     */
    private String homeUrl;
    /**
     * 排序
     */
    private Integer sort;
    /**
     * 税率
     */
    private BigDecimal tax;
    /**
     * 商户消息ID
     */
    private String sellerMessageIds;
    /**
     * 评分总数
     */
    private Integer grade;
    /**
     * 总销量
     */
    private Integer sale;
    /**
     * 评论次数
     */
    private Integer comments;
    /**
     * LOGO图标
     */
    private String logo;
    /**
     * 商户结算折扣率
     */
    private BigDecimal discount;
    /**
     * 预留散列字段
     */
    @TableField(value = "_hash")
    private Integer hash;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getIsVip() {
        return isVip;
    }

    public void setIsVip(Integer isVip) {
        this.isVip = isVip;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getIsLock() {
        return isLock;
    }

    public void setIsLock(Integer isLock) {
        this.isLock = isLock;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPaperImg() {
        return paperImg;
    }

    public void setPaperImg(String paperImg) {
        this.paperImg = paperImg;
    }

    public BigDecimal getCash() {
        return cash;
    }

    public void setCash(BigDecimal cash) {
        this.cash = cash;
    }

    public Integer getCountry() {
        return country;
    }

    public void setCountry(Integer country) {
        this.country = country;
    }

    public Integer getProvince() {
        return province;
    }

    public void setProvince(Integer province) {
        this.province = province;
    }

    public Integer getCity() {
        return city;
    }

    public void setCity(Integer city) {
        this.city = city;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getServerNum() {
        return serverNum;
    }

    public void setServerNum(String serverNum) {
        this.serverNum = serverNum;
    }

    public String getHomeUrl() {
        return homeUrl;
    }

    public void setHomeUrl(String homeUrl) {
        this.homeUrl = homeUrl;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public String getSellerMessageIds() {
        return sellerMessageIds;
    }

    public void setSellerMessageIds(String sellerMessageIds) {
        this.sellerMessageIds = sellerMessageIds;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getSale() {
        return sale;
    }

    public void setSale(Integer sale) {
        this.sale = sale;
    }

    public Integer getComments() {
        return comments;
    }

    public void setComments(Integer comments) {
        this.comments = comments;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public Integer getHash() {
        return hash;
    }

    public void setHash(Integer hash) {
        this.hash = hash;
    }

    @Override
    public String toString() {
        return "Seller{" +
        ", id=" + id +
        ", sellerName=" + sellerName +
        ", password=" + password +
        ", createTime=" + createTime +
        ", loginTime=" + loginTime +
        ", isVip=" + isVip +
        ", isDel=" + isDel +
        ", isLock=" + isLock +
        ", trueName=" + trueName +
        ", email=" + email +
        ", mobile=" + mobile +
        ", phone=" + phone +
        ", paperImg=" + paperImg +
        ", cash=" + cash +
        ", country=" + country +
        ", province=" + province +
        ", city=" + city +
        ", area=" + area +
        ", address=" + address +
        ", account=" + account +
        ", serverNum=" + serverNum +
        ", homeUrl=" + homeUrl +
        ", sort=" + sort +
        ", tax=" + tax +
        ", sellerMessageIds=" + sellerMessageIds +
        ", grade=" + grade +
        ", sale=" + sale +
        ", comments=" + comments +
        ", logo=" + logo +
        ", discount=" + discount +
        ", hash=" + hash +
        "}";
    }
}
